remove "." path components from required mount paths
authorStephane Chazelas <stephane.chazelas@gmail.com>
Wed, 6 Mar 2019 22:16:55 +0000 (22:16 +0000)
committerMichael Biebl <biebl@debian.org>
Mon, 8 Apr 2019 10:59:32 +0000 (11:59 +0100)
commit408c98c56c6711fcf62ffe317ac7e8f22fe14679
treece446976993452b70848fd860661416b1c07d980
parent127ce363215d6e8f56d13148e6e626808ed3a3aa
remove "." path components from required mount paths

unit_require_mounts_for may be passed path arguments that contain "."
components like for user's home directories where "." is sometimes used
to specify some form of anchor point.

This change stops considering such path as an error and removes the "."
components instead.

Closes: #11910
(cherry picked from commit 106bf8e445a797f9d9c88b827ed42193f2f6b838)

Gbp-Pq: Name remove-.-path-components-from-required-mount-paths.patch
src/core/unit.c